using Assets.Scripts.GDK;

namespace Brick
{
	public class Bomb : gdk_base_UI
	{
		private bool haveBomb;

		public void OnBomb()
		{
			if (!haveBomb)
			{
				haveBomb = true;
				int col = base.gameObject.GetComponent<EnemyArray>().getCol();
				int row = base.gameObject.GetComponent<EnemyArray>().getRow();
				EnemyData enemyData = new EnemyData();
				enemyData.type = 3;
				enemyData.row = row;
				enemyData.col = col;
				gdk_game_manager.DispachEvent(EventID.GAME_DAOJU_SHEXIAN, enemyData);
			}
		}
	}
}

